/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package prjtgl.controler.membre;

import java.util.ArrayList;
import java.util.List;
import org.zkoss.bind.annotation.Init;
import prjtgl.metier.Application;


import prjtgl.metier.comptes.profil_utilisateur.DomaineExpertise;


/**
 *
 * @author Thomas
 */
public class InscriptionViewModel 
{
    private DomaineExpertise selected;
    private List<DomaineExpertise> domaineExpertise = new ArrayList<DomaineExpertise>();
    
    @Init
    public void init()
    {
        Application ap = Application.getInstance();
       
         
         domaineExpertise = ap.listerDomainesExpertise();
         
         /*DomaineExpertise domaineExpertiseNull = new DomaineExpertise();
         domaineExpertiseNull.setIntitule("Non renseigné");
         domaineExpertise.add(0, domaineExpertiseNull);*/

    }
    
       
     public List<DomaineExpertise> getDomaineExpertiseList() { return domaineExpertise;}     
     public void setSelectedDomaineExpertise(DomaineExpertise selected) { this.selected = selected; }     
     public DomaineExpertise getSelectedDomaineExpertise() { return selected; }
}
